home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-09-06 | 2.8 KB | 147 lines | [TEXT/QED1] |
- ;
- ; BBS List Script
- ; For Mansion 8 BBS
- ;
- ; By Mark Toland
- ; Zoo System Mac BBS
- ; Fidonet 290/2
- ; 515-279-3073 9600 v.32 v.42bis
- ;
- ;
- ; •••• READ THE COMMENTS AT THE END OF THIS SCRIPT ABOUT FILE CREATION
- ;
- MOVE @LIMIT,&250
- LOADUSERINFO
- LIMIT &250
- MOVE 2,&80
- SPACES &80
- ; &80 HOLDS 2 SPACES
- /ONE
- PRINT
- PRINT
- PRINT
- PRINT ::::::::::::::::::::::::::::::::::::::::::::
- PRINT : Users BBS Listing :
- PRINT : A. Add a BBS number to the BBS listing. :
- PRINT : V. View the current BBS listing. :
- PRINT : Q. Quit back to the BBS. :
- PRINT ::::::::::::::::::::::::::::::::::::::::::::
- PRINT
- PRINT
- DRAW Enter your choice:
- INPUT 1,&0
- IF &0,=,A
- FORWARD /ADD
- ENDIF
- IF &0,=,V
- DISPLAY HD 60:Mansion BBS ƒ:Mansion Data:Misc Data:BBSList
- REVERSE /ONE
- ENDIF
- IF &0,=,Q
- END
- ENDIF
- IF &0,<>,Q
- REVERSE /ONE
- ENDIF
- ;
- /ADD
- PRINT
- PRINT Make sure you have Viewed the current BBS listing to make sure
- PRINT the BBS you wish to add is not already listed.
- PRINT
- DRAW Do you wish to add a BBS system to the BBS list now (Y/N)?
- INPUT 1,&0
- IF &0,=,N
- END
- ENDIF
- IF &0,<>,Y
- REVERSE /ONE
- ENDIF
- PRINT
- PRINT
- PRINT Enter the phone number of the BBS. You have 12 characters.
- DRAW Enter with the format of XXX-XXX-XXXX ->
- INPUT 12,&1
- PRINT
- DRAW Enter the MAX baud rate for the BBS ->
- INPUT 8,&2
- PRINT
- PRINT Enter the name of the BBS.
- DRAW (24 char. max) ->
- INPUT 24,&3
- ;
- PRINT
- PRINT What computer does the BBS run on?
- DRAW (10 chars max) ->
- INPUT 10,&4
- PRINT
- PRINT Enter any features about the BBS System
- PRINT (You have 60 chars. Max)
- INPUT 60,&5
- ;
- PRINT
- PRINT You have entered the following...
- DRAW BBS Phone number ->
- PRINT &1
- DRAW Baud Rate ->
- PRINT &2
- DRAW Board Name ->
- PRINT &3
- DRAW Computer Type ->
- PRINT &4
- DRAW Comments->
- PRINT &5
- DRAW Board added by ->
- PRINT &280
- ;
- /TWO
- PRINT
- DRAW Do you wish to record the above info to the BBS list (Y/N)?
- INPUT 1,&9
- IF &9,=,N
- REVERSE /ONE
- ENDIF
- IF &9,<>,Y
- REVERSE /TWO
- ENDIF
- ;
- PRINT
- PRINT Processing your data...
- ; OK lets try to format things a little bit
- MOVE Phone # ,&21
- CONCAT &21,&1
- MOVE Max Baud Rate -> ,&22
- CONCAT &22,&2
- MOVE Computer Type -> ,&24
- CONCAT &24,&4
- MOVE ,&30
- CONCAT &22,&80
- CONCAT &22,&30
- CONCAT &22,&24
- MOVE Comments:,&25
- CONCAT &25,&5
- MOVE Entered by -> ,&26
- CONCAT &26,&280
- MOVE @DATE,&31
- ;
- PRINT Saving...
- ; OK lets write the results to the BBSList file
- ; ^^^^^^^
- ; •••• Edit the following 2 lines as to the location of your Business card file
- OUTPUT HD 60:Mansion BBS ƒ:Mansion Data:Misc Data:BBSList
- EXISTS HD 60:Mansion BBS ƒ:Mansion Data:Misc Data:BBSList,&50
- IF &50,=,0
- WRITE &51
- ENDIF
- APPEND &3
- APPEND &21
- APPEND &22
- APPEND &25
- APPEND &26
- APPEND &31
- APPEND ------------------------------------------------
- ;
- CLOSE
- PRINT Thanks for adding to the BBS Listing!
- REVERSE /ONE
- END